//
//  FirstViewController.m
//  认识UIViewController
//
//  Created by clz on 2019/8/1.
//  Copyright © 2019年 clz. All rights reserved.
//

#import "FirstViewController.h"

@interface FirstViewController ()

@end

@implementation FirstViewController

//生命周期
- (void)viewDidLoad {
    [super viewDidLoad];
    //用来写一些初始化，创建UI组件
    NSLog(@"first初始化");
    self.view.backgroundColor = [UIColor yellowColor];

}

- (void)viewWillAppear:(BOOL)animated{
    
    [super viewWillAppear:animated];
    NSLog(@"first页面将要出现");
}

- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    NSLog(@"first页面已经出现");
}

- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    NSLog(@"first页面将要消失");
}

- (void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
    NSLog(@"first页面已经消失");
}

- (void)dealloc{
    NSLog(@"first页面释放");
}

@end
